package com.liao.bean.result;

public class Code {
    public static final Integer LOGIN_FAIL = 20011;//登录失败
    public static final Integer LOGIN_SUCCESS = 20010;//登录成功
    public static final Integer MODULE_QUERY_SUCCESS = 20020;//module查询成功
    public static final Integer GRANT_SUCCESS = 20030;//授权成功
    public static final Integer MODULE_ADD_SUCCESS =  20040;//菜单添加成功
    public static final Integer MODULE_ADD_FAIL =20041;//菜单添加失败
    public static final Integer MODULE_DELETE_SUCCESS = 20050;//菜单删除成功
    public static final Integer MODULE_DELETE_FAIL = 20051;//菜单删除失败

    public static final Integer ROLE_ADD_SUCCESS = 30010;//角色添加成功
    public static final Integer ROLE_ADD_FAIL = 30011;//角色添加失败
    public static final Integer ROLE_DELETE_SUCCESS = 30020;//角色删除成功
    public static final Integer ROLE_DELETE_FAIL = 30021;//角色删除失败
    public static final Integer ROLE_EDIT_SUCCESS = 30030;//角色编辑成功

    public static final Integer USER_ADD_SUCCESS = 40010;//用户添加成功
    public static final Integer USER_EDIT_SUCCESS = 40020;//用户修改成功
    public static final Integer USER_QUERY_SUCCESS = 40030;//用户查询成功
    public static final Integer USER_DELETE_SUCCESS = 40040;//用户删除成功
    public static final Integer USER_DELETE_FAIL = 40041;//用户删除失败
    public static final Integer ORDER_ADD_SUCCESS = 40050;//订单添加成功

    public static final Integer ORDER_DELETE_SUCCESS = 40060;//订单删除成功
    public static final Integer ORDER_DELETE_FAIL = 40061;//订单删除失败
    public static final Integer ORDER_EDIT_SUCCESS = 40070;//订单编辑成功

    public static final Integer MEMBER_ADD_SUCCESS = 40080;//会员添加成功
    public static final Integer MEMBER_EDIT_SUCCESS = 40090;//会员编辑成功
    public static final Integer MEMBER_DELETE_SUCCESS = 40100;//会员删除成功
    public static final Integer MEMBER_DELETE_FAIL = 40101;//会员删除失败

    public static final Integer CODE_ADD_SUCCESS = 50010;//字典参数添加成功
    public static final Integer CODE_EDIT_SUCCESS = 50020;//字典参数编辑成功
    public static final Integer CODE_DELETE_SUCCESS = 50030;//字典参数删除成功
    public static final Integer CODE_DELETE_FAIL = 50031;//字典参数删除失败
    public static final Integer PARAM_ADD_SUCCESS = 50040;//全局参数添加成功
    public static final Integer PARAM_EDIT_SUCCESS = 50050;//全局参数编辑成功
    public static final Integer PARAM_DELETE_SUCCESS = 50060;//全局参数删除成功
    public static final Integer PARAM_DELETE_FAIL = 50061;//全局参数删除失败

    public static final Integer LOG_ADD_SUCCESS = 50070;//日志添加成功
    public static final Integer LOG_EDIT_SUCCESS = 50080;//日志编辑成功
    public static final Integer LOG_DELETE_SUCCESS = 50090;//日志删除成功
    public static final Integer LOG_DELETE_FAIL = 50091;//日志删除失败
    public static final Integer NEWS_ADD_SUCCESS = 60010;//新闻添加成功
    public static final Integer NEWS_EDIT_SUCCESS = 60020;//新闻添加成功
    public static final Integer NEWS_DELETE_SUCCESS = 60030;//新闻添加成功
    public static final Integer NEWS_DELETE_FAIL = 60031;//新闻添加成功
    public static final Integer SPAY_ADD_SUCCESS = 60040;//会员订单添加成功
    public static final Integer SPAY_UPDATE_SUCCESS = 60050;//会员订单修改成功
    public static final Integer SPAY_DELETE_SUCCESS = 60060;//会员订单删除成功
    public static final Integer PAY_ADD_SUCCESS = 60070;//商品订单添加成功
    public static final Integer PAY_UPDATE_SUCCESS = 60080;//商品订单修改成功
    public static final Integer PAY_DELETE_SUCCESS = 60090;//商品订单删除成功
    public static final Integer SERVERDEL_SUCCESS = 70010;//删除成功
    public static final Integer SERVER_DEL = 70020;//批量删除成功
    public static final Integer SERVER_ADD = 70030;//添加成功
    public static final Integer SERVER_UPDATE = 70040;//修改成功
}
